package cn.wolfcode.qo;

import lombok.Getter;
import lombok.Setter;

/**
 * @author L5775
 */
@Getter
@Setter
public class QueryObject {

    private int currentPage = 1;
    private int pageSize = 3;

    public int getStart(){
        return (this.currentPage - 1) * this.pageSize;
    }
}
